<?php
use yii\helpers\Html;
use backend\assets\AppAsset;
/* @var $this yii\web\View */
// Yii::$app->language = 'en'; 切换语言
$this->title = '管理后台';
?>
<div class="site-index">

    <div class="jumbotron" style="display:none;">
        <h1>Welcome! <?php //Yii::t('app','testlang');?></h1>

        <p class="lead"><?= date('Y-m-d H:i:s');?></p>

    </div>

    <div class="body-content">




	<div class="row">
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-aqua">
            <div class="inner">
              <h3><?=Html::encode($count_order)?></h3>

              <p>订单</p>
            </div>
            <div class="icon">
              <i class="ion ion-bag"></i>
            </div>
            <a href="/order" class="small-box-footer">查看 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-red">
            <div class="inner">
              <h3><?=Html::encode($count_charge)?></h3>

              <p>充值金额</p>
            </div>
            <div class="icon">
              <i class="ion ion-pie-graph"></i>
            </div>
            <a href="/recharge" class="small-box-footer">查看 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->

        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-green">
            <div class="inner">
              <h3><?=Html::encode($count_user)?><!-- <sup style="font-size: 20px">%</sup> --></h3>

              <p>用户</p>
            </div>
            <div class="icon">
              <i class="ion ion-stats-bars"></i>
            </div>
            <a href="/user" class="small-box-footer">查看 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-yellow">
            <div class="inner">
              <h3><?=Html::encode($count_goods)?></h3>

              <p>商品</p>
            </div>
            <div class="icon">
              <i class="ion ion-person-add"></i>
            </div>
            <a href="/product" class="small-box-footer">查看 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>
        <!-- ./col -->

    </div>








    </div>
</div>


